FROM nginx:1.21.6

RUN rm /etc/nginx/nginx.conf
RUN rm /etc/nginx/conf.d/default.conf

COPY conf/nginx.conf /etc/nginx/

COPY nginx /usr/sbin/nginx
COPY conf/http.conf /etc/nginx/conf.d/
COPY conf/https.conf /etc/nginx/conf.d/
COPY conf/https-admindev.conf /etc/nginx/conf.d/
COPY conf/https-wedev.conf /etc/nginx/conf.d/

EXPOSE 80
